package tech.aistar.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tech.aistar.entity.person_center.Orders;

import java.util.List;

/**
 * Created by Dell on 2019/9/27.
 */
@Mapper
public interface OrderMapper {

    //查找user


    //预约订单信息
    /*查询订单信息--获取userID
    *order_status = 0预约订单
    * order_status = 1待出行
    * order_status = 2 历史订单
    * null 全部订单
    * */

//List<Orders> find();

    List<Orders> findAll(@Param("user_id") Integer user_id, @Param("order_status") Integer order_status);




    //
}
